import 'package:flustars/flustars.dart';

class DimenFont {
  static const double tiny = 8;
  static const double small = 10;
  static const double normal = 12;
  static const double middle = 14;
  static const double large = 16;
  static const double huge = 18;
  static const double sp11 = 11;
  static const double sp18 = 18;
  static const double sp20 = 20;
  static const double sp22 = 22;
  static const double sp24 = 24;
  static const double sp38 = 38;
  static const double sp40 = 40;
}

class Dimens {
  static double zero = 0;
  static double size1 = getSize(1);
  static double size2 = getSize(2);
  static double size3 = getSize(3);
  static double size4 = getSize(4);
  static double size5 = getSize(5);
  static double size6 = getSize(6);
  static double size7 = getSize(7);
  static double size8 = getSize(8);
  static double size9 = getSize(9);
  static double size10 = getSize(10);
  static double size11 = getSize(11);
  static double size12 = getSize(12);
  static double size13 = getSize(13);
  static double size14 = getSize(14);
  static double size15 = getSize(15);
  static double size16 = getSize(16);
  static double size17 = getSize(17);
  static double size18 = getSize(18);
  static double size19 = getSize(19);
  static double size20 = getSize(20);
  static double size21 = getSize(21);
  static double size22 = getSize(22);
  static double size23 = getSize(23);
  static double size24 = getSize(24);
  static double size25 = getSize(25);
  static double size26 = getSize(26);
  static double size27 = getSize(27);
  static double size28 = getSize(28);
  static double size29 = getSize(29);
  static double size30 = getSize(30);
  static double size31 = getSize(31);
  static double size32 = getSize(32);
  static double size33 = getSize(33);
  static double size34 = getSize(34);
  static double size35 = getSize(35);
  static double size36 = getSize(36);
  static double size37 = getSize(37);
  static double size38 = getSize(38);
  static double size39 = getSize(39);
  static double size40 = getSize(40);
  static double size41 = getSize(41);
  static double size42 = getSize(42);
  static double size43 = getSize(43);
  static double size44 = getSize(44);
  static double size45 = getSize(45);
  static double size46 = getSize(46);
  static double size47 = getSize(47);
  static double size48 = getSize(48);
  static double size49 = getSize(49);
  static double size50 = getSize(50);
  static double size51 = getSize(51);
  static double size52 = getSize(52);
  static double size53 = getSize(53);
  static double size54 = getSize(54);
  static double size55 = getSize(55);
  static double size56 = getSize(56);
  static double size57 = getSize(57);
  static double size58 = getSize(58);
  static double size59 = getSize(59);
  static double size60 = getSize(60);
  static double size61 = getSize(61);
  static double size62 = getSize(62);
  static double size63 = getSize(63);
  static double size64 = getSize(64);
  static double size65 = getSize(65);
  static double size66 = getSize(66);
  static double size67 = getSize(67);
  static double size68 = getSize(68);
  static double size69 = getSize(69);
  static double size70 = getSize(70);
  static double size71 = getSize(71);
  static double size72 = getSize(72);
  static double size73 = getSize(73);
  static double size74 = getSize(74);
  static double size75 = getSize(75);
  static double size76 = getSize(76);
  static double size77 = getSize(77);
  static double size78 = getSize(78);
  static double size79 = getSize(79);
  static double size80 = getSize(80);
  static double size81 = getSize(81);
  static double size82 = getSize(82);
  static double size83 = getSize(83);
  static double size84 = getSize(84);
  static double size85 = getSize(85);
  static double size86 = getSize(86);
  static double size87 = getSize(87);
  static double size88 = getSize(88);
  static double size89 = getSize(89);
  static double size90 = getSize(90);
  static double size91 = getSize(91);
  static double size92 = getSize(92);
  static double size93 = getSize(93);
  static double size94 = getSize(94);
  static double size95 = getSize(95);
  static double size96 = getSize(96);
  static double size97 = getSize(97);
  static double size98 = getSize(98);
  static double size99 = getSize(99);
  static double size100 = getSize(100);
  static double size101 = getSize(101);
  static double size102 = getSize(102);
  static double size103 = getSize(103);
  static double size104 = getSize(104);
  static double size105 = getSize(105);
  static double size106 = getSize(106);
  static double size107 = getSize(107);
  static double size108 = getSize(108);
  static double size109 = getSize(109);
  static double size110 = getSize(110);
  static double size111 = getSize(111);
  static double size112 = getSize(112);
  static double size113 = getSize(113);
  static double size114 = getSize(114);
  static double size115 = getSize(115);
  static double size116 = getSize(116);
  static double size117 = getSize(117);
  static double size118 = getSize(118);
  static double size119 = getSize(119);
  static double size120 = getSize(120);
  static double size121 = getSize(121);
  static double size122 = getSize(122);
  static double size123 = getSize(123);
  static double size124 = getSize(124);
  static double size125 = getSize(125);
  static double size126 = getSize(126);
  static double size127 = getSize(127);
  static double size128 = getSize(128);
  static double size129 = getSize(129);
  static double size130 = getSize(130);
  static double size131 = getSize(131);
  static double size132 = getSize(132);
  static double size133 = getSize(133);
  static double size134 = getSize(134);
  static double size135 = getSize(135);
  static double size136 = getSize(136);
  static double size137 = getSize(137);
  static double size138 = getSize(138);
  static double size139 = getSize(139);
  static double size140 = getSize(140);
  static double size141 = getSize(141);
  static double size142 = getSize(142);
  static double size143 = getSize(143);
  static double size144 = getSize(144);
  static double size145 = getSize(145);
  static double size146 = getSize(146);
  static double size147 = getSize(147);
  static double size148 = getSize(148);
  static double size149 = getSize(149);
  static double size150 = getSize(150);
  static double size151 = getSize(151);
  static double size152 = getSize(152);
  static double size153 = getSize(153);
  static double size154 = getSize(154);
  static double size155 = getSize(155);
  static double size156 = getSize(156);
  static double size157 = getSize(157);
  static double size158 = getSize(158);
  static double size159 = getSize(159);
  static double size160 = getSize(160);
  static double size161 = getSize(161);
  static double size162 = getSize(162);
  static double size163 = getSize(163);
  static double size164 = getSize(164);
  static double size165 = getSize(165);
  static double size166 = getSize(166);
  static double size167 = getSize(167);
  static double size168 = getSize(168);
  static double size169 = getSize(169);
  static double size170 = getSize(170);
  static double size171 = getSize(171);
  static double size172 = getSize(172);
  static double size173 = getSize(173);
  static double size174 = getSize(174);
  static double size175 = getSize(175);
  static double size176 = getSize(176);
  static double size177 = getSize(177);
  static double size178 = getSize(178);
  static double size179 = getSize(179);
  static double size180 = getSize(180);
  static double size181 = getSize(181);
  static double size182 = getSize(182);
  static double size183 = getSize(183);
  static double size184 = getSize(184);
  static double size185 = getSize(185);
  static double size186 = getSize(186);
  static double size187 = getSize(187);
  static double size188 = getSize(188);
  static double size189 = getSize(189);
  static double size190 = getSize(190);
  static double size191 = getSize(191);
  static double size192 = getSize(192);
  static double size193 = getSize(193);
  static double size194 = getSize(194);
  static double size195 = getSize(195);
  static double size196 = getSize(196);
  static double size197 = getSize(197);
  static double size198 = getSize(198);
  static double size199 = getSize(199);
  static double size200 = getSize(200);
  static double size201 = getSize(201);
  static double size202 = getSize(202);
  static double size203 = getSize(203);
  static double size204 = getSize(204);
  static double size205 = getSize(205);
  static double size206 = getSize(206);
  static double size207 = getSize(207);
  static double size208 = getSize(208);
  static double size209 = getSize(209);
  static double size210 = getSize(210);
  static double size211 = getSize(211);
  static double size212 = getSize(212);
  static double size213 = getSize(213);
  static double size214 = getSize(214);
  static double size215 = getSize(215);
  static double size216 = getSize(216);
  static double size217 = getSize(217);
  static double size218 = getSize(218);
  static double size219 = getSize(219);
  static double size220 = getSize(220);
  static double size221 = getSize(221);
  static double size222 = getSize(222);
  static double size223 = getSize(223);
  static double size224 = getSize(224);
  static double size225 = getSize(225);
  static double size226 = getSize(226);
  static double size227 = getSize(227);
  static double size228 = getSize(228);
  static double size229 = getSize(229);
  static double size230 = getSize(230);
  static double size231 = getSize(231);
  static double size232 = getSize(232);
  static double size233 = getSize(233);
  static double size234 = getSize(234);
  static double size235 = getSize(235);
  static double size236 = getSize(236);
  static double size237 = getSize(237);
  static double size238 = getSize(238);
  static double size239 = getSize(239);
  static double size240 = getSize(240);
  static double size241 = getSize(241);
  static double size242 = getSize(242);
  static double size243 = getSize(243);
  static double size244 = getSize(244);
  static double size245 = getSize(245);
  static double size246 = getSize(246);
  static double size247 = getSize(247);
  static double size248 = getSize(248);
  static double size249 = getSize(249);
  static double size250 = getSize(250);
  static double size251 = getSize(251);
  static double size252 = getSize(252);
  static double size253 = getSize(253);
  static double size254 = getSize(254);
  static double size255 = getSize(255);
  static double size256 = getSize(256);
  static double size257 = getSize(257);
  static double size258 = getSize(258);
  static double size259 = getSize(259);
  static double size260 = getSize(260);
  static double size261 = getSize(261);
  static double size262 = getSize(262);
  static double size263 = getSize(263);
  static double size264 = getSize(264);
  static double size265 = getSize(265);
  static double size266 = getSize(266);
  static double size267 = getSize(267);
  static double size268 = getSize(268);
  static double size269 = getSize(269);
  static double size270 = getSize(270);
  static double size271 = getSize(271);
  static double size272 = getSize(272);
  static double size273 = getSize(273);
  static double size274 = getSize(274);
  static double size275 = getSize(275);
  static double size276 = getSize(276);
  static double size277 = getSize(277);
  static double size278 = getSize(278);
  static double size279 = getSize(279);
  static double size280 = getSize(280);
  static double size281 = getSize(281);
  static double size282 = getSize(282);
  static double size283 = getSize(283);
  static double size284 = getSize(284);
  static double size285 = getSize(285);
  static double size286 = getSize(286);
  static double size287 = getSize(287);
  static double size288 = getSize(288);
  static double size289 = getSize(289);
  static double size290 = getSize(290);
  static double size291 = getSize(291);
  static double size292 = getSize(292);
  static double size293 = getSize(293);
  static double size294 = getSize(294);
  static double size295 = getSize(295);
  static double size296 = getSize(296);
  static double size297 = getSize(297);
  static double size298 = getSize(298);
  static double size299 = getSize(299);
  static double size300 = getSize(300);
  static double size301 = getSize(301);
  static double size302 = getSize(302);
  static double size303 = getSize(303);
  static double size304 = getSize(304);
  static double size305 = getSize(305);
  static double size306 = getSize(306);
  static double size307 = getSize(307);
  static double size308 = getSize(308);
  static double size309 = getSize(309);
  static double size310 = getSize(310);
  static double size311 = getSize(311);
  static double size312 = getSize(312);
  static double size313 = getSize(313);
  static double size314 = getSize(314);
  static double size315 = getSize(315);
  static double size316 = getSize(316);
  static double size317 = getSize(317);
  static double size318 = getSize(318);
  static double size319 = getSize(319);
  static double size320 = getSize(320);
  static double size321 = getSize(321);
  static double size322 = getSize(322);
  static double size323 = getSize(323);
  static double size324 = getSize(324);
  static double size325 = getSize(325);
  static double size326 = getSize(326);
  static double size327 = getSize(327);
  static double size328 = getSize(328);
  static double size329 = getSize(329);
  static double size330 = getSize(330);
  static double size331 = getSize(331);
  static double size332 = getSize(332);
  static double size333 = getSize(333);
  static double size334 = getSize(334);
  static double size335 = getSize(335);
  static double size336 = getSize(336);
  static double size337 = getSize(337);
  static double size338 = getSize(338);
  static double size339 = getSize(339);
  static double size340 = getSize(340);
  static double size341 = getSize(341);
  static double size342 = getSize(342);
  static double size343 = getSize(343);
  static double size344 = getSize(344);
  static double size345 = getSize(345);
  static double size346 = getSize(346);
  static double size347 = getSize(347);
  static double size348 = getSize(348);
  static double size349 = getSize(349);
  static double size350 = getSize(350);
  static double size351 = getSize(351);
  static double size352 = getSize(352);
  static double size353 = getSize(353);
  static double size354 = getSize(354);
  static double size355 = getSize(355);
  static double size356 = getSize(356);
  static double size357 = getSize(357);
  static double size358 = getSize(358);
  static double size359 = getSize(359);
  static double size360 = getSize(360);
  static double size400 = getSize(400);

  static double getSize(double size, {bool isFit = true}) {
    return (isFit ? ScreenUtil.getInstance().getAdapterSize(size) : size);
  }

  static double getSizeByHeight(double size, {bool isFit = true}) {
    return (isFit ? ScreenUtil.getInstance().getHeight(size) : size);
  }
}
